const {
  defineConfig
} = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})
// vue.config.js
// vue.config.js (增强版代理配置)
module.exports = {
  devServer: {
    port: 80,
    proxy: {
      '/oneDimension': {
        target: 'http://localhost:8080',
        changeOrigin: true,
        pathRewrite: {
          '^/oneDimension': '/oneDimension'
        },
        onProxyReq(proxyReq) {
          console.log('Proxying request to:', proxyReq.path)
        }
      }
    }
  }
}